SureCart\Models\Subscription A

Total Complexity 63
Dependencies 5
Dependents 9
Total lines 508
Lines of code 291
Logical lines of code 139
Comment lines 124
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
cancel()
S
47 6 37
restore()
S
50 6 29
renew()
S
50 5 30
complete()
S
51 5 29
upcomingPeriod()
S
51 5 28
update()
S
51 5 26
preserve()
S
52 5 25
payOff()
S
52 5 25
checkIfCanBeSwitched()
S
59 5 15
shouldDelayCancellation()
S
59 4 13
checkIfCanBeCanceled()
S
65 3 9
isLifetime()
S
78 2 3
checkIfCanUpdateQuantity()
S
71 2 6
canUpdateQuantity()
S
79 1 3
setCurrentPeriodAttribute()
S
79 1 3
canBeCanceled()
S
79 1 3
canBeSwitched()
S
79 1 3
stats()
S
75 1 4